package cn.itcast.bos.service.base;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Service;

import cn.itcast.bos.dao.base.IareaDao;
import cn.itcast.bos.domain.base.Area;

@Service
public class AreaServiceImp implements IareaService {

	@Autowired
	private IareaDao IareaDao;
	
	@Override
	public Page<Area> findAll(Specification<Area> specification, Pageable pageable) {
		// TODO Auto-generated method stub
		return IareaDao.findAll(specification, pageable);
		
	}

}
